<include file="__THEME__/header" />

<link href="../Public/basic.css" rel="stylesheet" type="text/css" />

<link href="../Public/friend.css" rel="stylesheet" type="text/css" />
<script>
function handlerIframe(){
   // alert(ymPrompt.getPage().contentWindow.document.body.innerHTML);
    ymPrompt.close();
}
    
</script>

<div class="content"><!-- 内容 begin  -->



    <div class="main"> <!-- 右侧内容 begin  -->

        <div class=page_title> <!-- page_title begin -->
            <h2><img src="../Public/images/ico_Friend.gif" />好友</h2>
        <div class="c"></div>
</div><!-- page_title end -->
        <div class="tab-menu"><!-- 切换标签 begin  -->
            <ul>
                <li><a href="__URL__"><span>我的好友</span></a></li>
                <li><a href="__URL__/ping"><span>好友屏蔽</span></a></li>
                <li><a href="__URL__/track"><span>访问脚印</span></a></li>
                <li><a href="__URL__/find" class="on"><span>查找朋友</span></a></li>
                <li><a href="#"><span><div class="ico_add">&nbsp;</div>邀请好友</span></a></li>
            </ul>
        </div><!-- 切换标签 end  -->

        <div class="friendBox">
            <!-- <div class="MenuSub"><a href="#"><strong>查找朋友</strong></a> | <a href="#">好友的好友</a> | <a href="#">我可能认识的人</a></div> -->


            <div class="friend_search"><!-- 查找列表 begin  -->
                <div class="topline lh30">找到{$total_num}位相关用户  <a href="__URL__/find">重新查找</a></div>
                <ul>
                    <volist name="data" id="vo">
                        <li>
                            <php>$uid = $vo["uid"];$sex_arr = getUserSexArr($uid);</php>
                            <div class="c1"><span class="headpic50"><a href="__APP__/space/{$uid}" class="f14px fB tips" rel="__TS__/Index/userInfo/uid/{$uid}"><img src="{$vo.uid|getUserFace}" /></a></span></div>
                            <div class="c2">
                                <p><span class="cGray2">姓名：</span><a href="__APP__/space/{$uid}" class="f14px fB"><php>echo !empty($vo["name"])?$vo["name"]:getUserName($uid);</php></a></p>
                                <p><span class="cGray2">性别：</span>{$sex_arr.sex}</p>
                                <p><span class="cGray2">城市：</span>{$vo.uid|getUserCity}</p>
                            </div>
                            <div class="c3">
                                <a href="javascript:Win({message:'__APP__/Friend/isAdd/uid/<?php echo $uid; ?>',width:392,height:220,title:'加为好友',handler:handlerIframe,autoClose:false,iframe:true,allowRightMenu:true});" title="加为好友">加为好友</a>
                                <a href="__APP__/Notify/write/uid/{$vo.uid}">发送短消息</a>
                                <a href="__APP__/space/{$vo.uid}">查看{$sex_arr.ta}的首页</a>
                            </div>
                        </li>
                    </volist>


                </ul>
                <div class="page">
                    {$page}
                </div>
            </div><!-- end  -->



        </div>







    </div><!-- 右侧内容 end  -->


<div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
